"""
config 配置文件 显示参数 包括：
    1. pygame屏幕参数
    2. 迷宫元素符号
    3. 迷宫元素显示 pygame RGB
"""
# 颜色参数
COLOR_BLACK = (0, 0, 0)
COLOR_WHITE = (255, 255, 255)

# 菜单的size
SCREEN_WIDTH_MENU = 600
SCREEN_HEIGHT_MENU = 400

MAZE_N_SIMPLE = 7 + 2
MAZE_N_DIFFICULTY = 15 + 2 # 因为有最外侧的墙壁

# 模式宏
HUMANITY = 0
AI_GREEDY = 1
AI_DP = 2

# 迷宫元素符号
WALL = '#'
PATH = '.'
START = 'S'
EXIT = 'E'
GOLD = 'G'
TRAP = 'T'
LOCKER = 'L'
BOSS = 'B'

# 资源/陷阱/机关数量 ---- 等待修改
NUM_GOLD = 5
NUM_TRAPS = 5
NUM_LOCKERS = 1


# Pygame 可视化设置
CELL_SIZE = 40  # 每个单元格的像素大小
SCREEN_HEIGHT_SIMPLE = MAZE_N_SIMPLE * CELL_SIZE
SCREEN_WIDTH_SIMPLE = MAZE_N_SIMPLE * CELL_SIZE
SCREEN_WIDTH_DIFFICULTY = MAZE_N_DIFFICULTY * CELL_SIZE
SCREEN_HEIGHT_DIFFICULTY = MAZE_N_DIFFICULTY * CELL_SIZE

# 用颜色代表不同的游戏元素
COLOR_WALL = (0, 0, 0)         # 墙壁-黑
COLOR_PATH = (255, 255, 255)   # 通路-白
COLOR_START = (0, 255, 0)      # 开始位置-绿
COLOR_EXIT = (255, 0, 0)       # 出口位置-红
COLOR_PLAYER = (0, 0, 255)     # 游戏玩家-蓝
COLOR_GOLD = (255, 215, 0)     # 金币-金
COLOR_TRAP = (139, 0, 255)     # 陷阱-紫
COLOR_LOCKER = (0, 255, 255)   # 解密锁-青
COLOR_BOSS = (255, 69, 0)      # BOSS-橙红
